home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / gcc / ixemlsrc.lha / ixemul / string / memcpy.c < prev    next >
C/C++ Source or Header  |  1996-03-13  |  334b  |  19 lines

  1. #if defined(LIBC_SCCS) && !defined(lint)
  2. static char sccsid[] = "@(#)memcpy.c    1.0 (mw)";
  3. #endif /* LIBC_SCCS and not lint */
  4.  
  5. #include <sys/stdc.h>
  6. #include <string.h>
  7.  
  8. #include <proto/exec.h>
  9.  
  10. void *
  11. memcpy(dst0, src0, length)
  12.     void *dst0;
  13.     const void *src0;
  14.     size_t length;
  15. {
  16.     CopyMem ((char *)src0, dst0, length);
  17.     return(dst0);
  18. }
  19.